Cobaltstrike

Category: hacktool · Aliases: Cobalt Strike Beacon, CobaltStrike, Beacon, HackTool:Win32/CobaltStrike, Trojan.CobaltStrike · Sample count (EMBER 2018): 3,500 · Enrichment: curated_sourced · Updated: 2026-10-16
Category: HacktoolStatus: Automated SignaturePlatform: WINDOWS, LINUXStage: Initial-Access, Execution, Persistence, Privilege-Escalation, Defense-Evasion, Credential-Access, Discovery, Lateral-Movement, Command-And-ControlFirst seen: 2012Actor: APT29Actor: APT41Actor: FIN7 ↗Actor: LockBit SyndicateActor: BlackCat SyndicateIndustry: government, defense, financial_services, healthcare, technology, energyMotivation: Adversary Simulation, Cyber Espionage, Corporate Reconnaissance & Ransomware Staging🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows 7
Executive Summary
Cobalt Strike (specifically its Beacon payload component) is the world's most ubiquitous commercial adversary simulation and post-exploitation framework.

Table of Contents

Overview

Cobalt Strike (specifically its Beacon payload component) is the world's most ubiquitous commercial adversary simulation and post-exploitation framework. Originally authored by Raphael Mudge and developed by HelpSystems (now Fortra) for legitimate red-team penetration testing, cracked and leaked versions (notably versions 4.0 through 4.9) have been comprehensively adopted by sophisticated cybercrime syndicates, initial access brokers, and advanced persistent threat (APT) groups. The core implant, Beacon, operates in-memory using reflective DLL loading and process hollowing to evade traditional endpoint detection and response (EDR) agents. It communicates over encrypted HTTP, HTTPS, DNS, or SMB named pipes using Malleable C2 profiles that emulate benign web traffic. Beacon features modular post-exploitation capabilities including token manipulation, Mimikatz integration for credential dumping, port scanning, lateral movement via WMI and PsExec, and sleep obfuscation techniques (such as Ekko, Foliage, and timer-based memory protection swapping) that protect the payload's memory space between check-ins. It is documented in multiple CISA alerts (including AA21-209A) and actively exploited in combination with edge appliance CVEs.

Known aliases

Threat reports may refer to this family under multiple names:

Threat Actor Attribution

Attribution is probabilistic, not a science. Each link below states its confidence level and the evidence behind it.

→ Explore all Threat Actor & APT Campaign Profiles

Family Pedigree & Lineage

Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:

Derived From / Upstream Ancestry: Armitage

Known Derivatives & Downstream Variants: Cobalt Strike 3.X · Cobalt Strike 4.0-4.9 · Cobalt Strike Cracked Bofs

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:

→ Explore the complete 226-Technique ATT&CK Threat Matrix

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-LSALSA Protection & Credential GuardHardenT1003.001Enable Windows LSA RunAsPPL (Protected Process Light) and Credential Guard to prevent memory dumping of lsass.exe.
D3-NBANetwork Behavioral AnalysisDetectT1021.002Enforce SMB message signing, disable legacy SMBv1, and restrict administrative share access (C$, ADMIN$) to dedicated PAM bastion hosts.
D3-DIADLL Injection AnalysisDetectT1055.001Monitor remote thread creation (CreateRemoteThread) and unauthorized DLL loading into core Windows processes (svchost.exe, explorer.exe).
D3-PHAProcess Hollowing AnalysisDetectT1055.012Inspect unbacked executable memory regions (PAGE_EXECUTE_READWRITE) for replaced PE image headers inside legitimate host processes.
D3-PBAProcess Spawn AnalysisDetectT1059.003Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe.
D3-SDASystem Discovery AnalysisDetectT1082Alert on rapid enumerations of systeminfo, hostname, and registry hardware trees in short intervals.
D3-NTINetwork Traffic InspectionDetectT1105Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols.

Exploited Vulnerabilities (CVEs)

This malware family is documented weaponizing the following common vulnerabilities and exposures:

Command & Control (C2) and Network Profile

How this family talks to its operators. C2 traffic can often identify a family even when its code and configuration are hard to analyse. Ports and patterns are historical and change between campaigns, so use them as hunting leads rather than block-only rules.

ProtocolsHTTPS, HTTP, DNS, SMB Named Pipes
Observed ports443, 80, 53, 445
Identifiable from traffic aloneMedium

Indicators of Compromise

Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.

File hashes (SHA-256, sample)

Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.

Delivery vectors

Persistence mechanisms

SIEM / EDR Ingestion: Need these reference indicators for threat hunting?

Tiered Detection Rules (Cisco CAIRN Model)

Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_COBALTSTRIKE_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Cobaltstrike"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "cobaltstrike" ascii wide nocase
        $s2 = "cobalt strike beacon" ascii wide nocase
        $s3 = "cobaltstrike" ascii wide nocase
        $s4 = "beacon" ascii wide nocase
        $s5 = "hacktool:win32/cobaltstrike" ascii wide nocase
        $s6 = "trojan.cobaltstrike" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.

title: SystemHelpDesk Detection - Cobaltstrike (Hacktool) Execution & Triage
id: 22d67bc3-ef13-5a8d-84a9-48c1568c0181
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Cobaltstrike malware family. Detects suspicious execution from temporary
  user directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/cobaltstrike
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.hacktool
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1059_003
- attack.t1055_001
- attack.t1055_012
- attack.t1573_002
- attack.t1021_002
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \cmd.exe
    - \powershell.exe
    - \cscript.exe
    - \wscript.exe
    CommandLine|contains:
    - AppData\Local\Temp
    - -WindowStyle Hidden
    - /e:jscript
    - bitsadmin /transfer
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_COBALTSTRIKE_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Cobaltstrike tradecraft"
        tier = "T3 - Attribution Fingerprint"
        confidence = "High (Confirmed Family Signature)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        // Core family identifier & heuristic payload signatures
        $attrib_str = "cobaltstrike" ascii wide nocase
        $pe_magic = "MZ" ascii
        $net_marker = "http" ascii nocase
    condition:
        uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

Containment & Response Steps

Home Users: If you suspect a malware infection on your personal device, disconnect from the internet immediately and run a full system scan with your antivirus software (see our TotalAV Antivirus & Security Support Guide). The steps below are intended for IT professionals responding to enterprise incidents.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Isolate compromised hosts from network segments immediately to prevent lateral SMB propagation.
  2. Inspect memory allocations for RWX permissions unbacked by disk binaries using Volatility or Process Hacker.
  3. Terminate spawned child processes and investigate parent-child anomalies (e.g. wmiprvse.exe spawning cmd.exe/powershell.exe).
  4. Block known C2 IP addresses and DNS domains across edge firewalls and secure web gateways.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not assume Cobalt Strike usage implies a single actor; it is widely weaponized by diverse crimeware and state-sponsored groups.
  2. Avoid relying solely on static hash detection, as Beacon loaders are re-compiled and obfuscated dynamically with unique shellcode stubs.
  3. Do not neglect internal network segmentation; unsegmented SMB ports (445) allow Beacon named pipes to bridge air-gapped systems.

References & External Analysis

North American Authority Advisory (CISA / NIST)

The Cybersecurity and Infrastructure Security Agency (CISA) has published an official US federal advisory on this family, which can be mapped to NIST Cybersecurity Framework (CSF) incident response controls: AA21-209A ↗

Frequently Asked Questions

What is Cobalt Strike Beacon?

Cobalt Strike Beacon is an advanced post-exploitation agent designed for adversary simulation that provides threat actors with in-memory stealth execution, command-and-control communication, and lateral movement tools.

Why is Cobalt Strike so widely used by threat actors?

Threat actors weaponize leaked and cracked versions because it provides robust, reliable enterprise-grade C2 features, malleable network traffic profiles, and in-memory execution that bypasses traditional signature-based antivirus.

How does Cobalt Strike Beacon evade EDR detection?

Beacon leverages reflective DLL injection, process injection, sleep obfuscation (encrypting heap and stack during sleep), and user-mode API unhooking to conceal its presence in memory.

What network protocols does Cobalt Strike use for C2?

Beacon communicates using customizable Malleable C2 profiles over HTTP/HTTPS, DNS TXT queries, and SMB named pipes for internal peer-to-peer lateral movement across air-gapped subnets.

How can defenders detect Cobalt Strike in an enterprise environment?

Defenders detect Beacon via behavioral EDR telemetry flagging unbacked executable memory, anomalous named pipe creation, memory-scanning YARA signatures, and network traffic inspecting standard Beacon jitter and default certificate artifacts.

What are Cobalt Strike Malleable C2 profiles and how do they alter network signatures?

Malleable C2 is a specialized domain-specific language (DSL) within Cobalt Strike that allows operators to completely reshape Beacon's network traffic indicators. By defining custom HTTP headers, URI paths, client/server transaction formats, and data transformation routines (such as base64, netbios, or XOR encoding), Malleable C2 profiles allow operators to masquerade command-and-control beacons as legitimate web traffic, mimicking services such as Amazon CloudFront, Microsoft Update, or Gmail.

How can security teams correlate Cobalt Strike Beacon memory artifacts with YARA hunting rules?

Security analysts hunt for Cobalt Strike in endpoint memory by deploying YARA rules targeting unbacked executable memory regions (PAGE_EXECUTE_READWRITE) lacking a corresponding on-disk file module. Key in-memory indicators include reflective DLL loader stubs, the default Beacon configuration block (which stores C2 server URLs, sleep timers, jitter percentages, and watermarks), and distinct sleep obfuscation artifacts (such as Sleep Mask or Ekko timers) used to bypass in-memory scanners.

How do I remove Cobaltstrike from Windows?

Manual removal of Cobaltstrike is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

What are the main symptoms of a Cobaltstrike infection?

Symptoms of Cobaltstrike can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Protect Your Network Against Hacktools

Want to prevent Cobaltstrike and similar threats from compromising your organization? Read our comprehensive defensive guide: HackTool & Riskware Protection.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/cobaltstrike.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.